/**
 * A text value. Returned by the Abdera XPath implementation when querying for
 * text nodes (e.g. xpath.selectNodes("//text()"); ...). There should be very
 * little reason why an application would use this.  It is provided to keep
 * applications from having to deal directly with the underlying parser impl
 */
public interface TextValue {

  /**
   * A DataHandler for Base64 encoded binary data
   */
  DataHandler getDataHandler();
  
  /**
   * An InputStream used to read the text content
   */
  InputStream getInputStream();
  
  /**
   * Return the text value
   */
  String getText();
  
  /**
   * The parent element
   */
  Element getParentElement();
  
  /**
   * Delete this node
   */
  void discard();
  
}
